<?php

include_once('plugin/LoginPlugin.php');
include_once('plugin/AppConfigPlugin.php');
include_once('plugin/CommonPlugin.php');

$rol = LoginPlugin::getRol();
$menuItems = AppConfigPlugin::getMenuItems($rol);

$scriptPhp = $menuItems[0][script];

header('Location: ' . $scriptPhp);

?>